package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.media.pojos.WmUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface WmUserMapper extends BaseMapper<WmUser> {
    @Select("select * from wm_user r.'name'=#{name}")
    public List<WmUser> findByName(@Param("name") String name);
}
